添加图案填充边界
[helpstring("method AppendLoop")] HRESULT AppendLoop([in] LONG loopType, [in] IMxDrawResbuf* pData, [out,retval] VARIANT_BOOL* pOk);
参数 |
说明 |
[in] LONG loopType |
边界的类型 |
[in] IMxDrawResbuf* pData |
边界数据 |
例如: VB
MxDrawHatch hatch = new MxDrawHatch(); MxDrawResbuf param = new MxDrawResbuf(); param.AddPoint(pt1); param.AddDouble(0); param.AddPoint(pt3); param.AddDouble(0); param.AddPoint(pt2); param.AddDouble(0); param.AddPoint(pt4); param.AddDouble(0); hatch.AppendLoop(2, param); pWorldDraw.DrawEntity((MxDrawEntity)hatch);